package com.jeesite.modules.dataScreen.web.dto;

import com.alibaba.fastjson2.JSONObject;
import com.jeesite.modules.dataScreen.ssm.SmsTmplateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class SsmRecordSendDto {

    @NotEmpty(message = "请选择发送人ID")
    private List<Integer> id;

    @NotNull(message = "请选择发送模板")
    private SmsTmplateEnum template;

    @ApiModelProperty("模板参数")
    @NotEmpty(message = "模板参数不能为空")
    private JSONObject param;
}
